package com.bank.backend.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 交易记录实体类
 */
@Data
@TableName("trade")
public class Trade {
    @TableId(type = IdType.AUTO)
    private Integer tradeId;
    
    private String cardId;
    
    private LocalDateTime tradeDate;
    
    private String tradeType;
    
    private BigDecimal tradeMoney;
    
    private String remark;
    
    private LocalDateTime createTime;
    
    private LocalDateTime updateTime;
    
    @TableLogic
    private Integer isDeleted;
} 